package com.example.user.myhjjf_app.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by User on 2017/8/31.
 */

public class Model_Banka implements Serializable {

    /**
     * success : true
     * value : [{"id":"8a21459c5e0224b6015e366cfe800098","create_name":null,"create_by":null,"create_date":null,"name":"那种那是那是","pid":"8a21459c5e0224b6015e3641c4610097"}]
     * exception : null
     */

    private boolean success;
    private Object exception;
    private List<ValueBean> value;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getException() {
        return exception;
    }

    public void setException(Object exception) {
        this.exception = exception;
    }

    public List<ValueBean> getValue() {
        return value;
    }

    public void setValue(List<ValueBean> value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "Model_Banka{" +
                "success=" + success +
                ", exception=" + exception +
                ", value=" + value +
                '}';
    }

    public static class ValueBean implements Serializable{
        /**
         * id : 8a21459c5e0224b6015e366cfe800098
         * create_name : null
         * create_by : null
         * create_date : null
         * name : 那种那是那是
         * pid : 8a21459c5e0224b6015e3641c4610097
         */

        private String id;
        private Object create_name;
        private Object create_by;
        private Object create_date;
        private String name;
        private String pid;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Object getCreate_name() {
            return create_name;
        }

        public void setCreate_name(Object create_name) {
            this.create_name = create_name;
        }

        public Object getCreate_by() {
            return create_by;
        }

        public void setCreate_by(Object create_by) {
            this.create_by = create_by;
        }

        public Object getCreate_date() {
            return create_date;
        }

        public void setCreate_date(Object create_date) {
            this.create_date = create_date;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        @Override
        public String toString() {
            return "ValueBean{" +
                    "id='" + id + '\'' +
                    ", create_name=" + create_name +
                    ", create_by=" + create_by +
                    ", create_date=" + create_date +
                    ", name='" + name + '\'' +
                    ", pid='" + pid + '\'' +
                    '}';
        }
    }
}
